<template>
	<view class="message">
		<view class="header">
			<view class="title">
				测试
			</view>
			<view class="mesg">
				<view class="address">广东省</view>
				<view class="serial-number">项目编号:1231313</view>
				<view class="reference-number">立项文号:465-456</view>
				<view class="scale">投资规模:</view>
			</view>
		</view>
		<view class="call-for-bids">
			<view class="header">招投标</view>
			<view v-for="item in items" :key="item.id">
				<view class="card">
					<view class="title">
						测试
					</view>
					<view class="mes">
						<view class="money-time">
							<view class="money">中标金额:7.5</view>
							<view class="time">中标时间:-</view>
						</view>
						<view class="number">
							<view class="inform">通知书编号:123456789123456789</view>
							<view class="province">省级编号:123456789123456789</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		
		<view class="call-for-bids">
			<view class="header">合同备案</view>
			<view v-for="item in items" :key="item.id">
				<view class="card">
					<view class="title">
						测试
					</view>
					<view class="mes">
						<view class="money-time">
							<view class="money">编号:7.5</view>
							<view class="time">省级编号:-</view>
						</view>
						<view class="number">
							<view class="inform">金额:123456789123456789</view>
							<view class="province">签订日期:123456789123456789</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		
		<view class="investigate">
			<view class="header">施工图审查</view>
			<view v-for="item in items" :key="item.id">
				<view class="card">
					<view class="title">
						审核编号:测试123456
					</view>
					<view class="mes">
						勘察单位:123465
					</view>
					<view class="mes">
						设计单位:123465
					</view>
					<view class="mes">
						审查机构:123465
					</view>
				</view>
			</view>
		</view>
		
		<view class="investigate">
			<view class="header">施工许可证</view>
			<view v-for="item in items" :key="item.id">
				<view class="card">
					<view class="title">
						许可证编号:测试123456
					</view>
					<view class="mes">
						省级编号:123465
					</view>
					<view class="mes">
						合同金额:123465
					</view>
					<view class="mes">
						发证日期:123465
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				items: [1, 2, 31,1],
				list: [{
					name: '中标信息'
				}, {
					name: '建造师'
				}, {
					name: '资质等级',
					count: 5
				}],
				current: 0
			};
		},
	};
</script>

<style lang="scss" scoped>
	.message{
		background: #C8C9CC;
		.header{
			padding: 10rpx 20rpx;
			background: #FFFFFF;
			margin-bottom: 20rpx;
			.title{
				text-align: center;
				font-size: 32rpx;
			}
			.mesg{
				color: #808080;
				line-height: 50rpx;
				font-size: 28rpx;
			}
		}
		.call-for-bids{
			background: #FFFFFF;
			margin-bottom: 20rpx;
			.header{
				color: #007AFF;
				border-bottom: solid 2px #007AFF;
				text-align: center;
				font-size: 34rpx;
				line-height: 80rpx;
			}
			.card{
				padding: 20rpx;
				.title{
					font-size: 32rpx;
					line-height: 60rpx;
				}
				.mes{
					padding-bottom: 14rpx;
					border-bottom: solid 1px #C0C4CC;
					color: #7D7E80;
					.money-time,.number{
						display: flex;
						.money,.time,.inform,.province{
							width: 45vw;
							overflow: hidden;
							text-overflow: ellipsis;
							white-space: nowrap;
							margin-right: 10rpx;
						}
					}
				}
			}
		}
		.investigate{
			background: #FFFFFF;
			margin-bottom: 20rpx;
			
			.header{
				color: #007AFF;
				border-bottom: solid 2px #007AFF;
				text-align: center;
				font-size: 34rpx;
				line-height: 80rpx;
			}
			.card{
				display: flex;
				flex-direction: column;
				border-bottom: solid 1px #C0C4CC;
				padding: 20rpx;
				.title{
					font-size: 32rpx;
					line-height: 60rpx;
				}
				.mes{
					color: #7D7E80;
					line-height: 60rpx;
				}
			}
		}
	}
</style>
